﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace MES.Desktop.Assets.Fonts
{
    public class IconFonts
    {
        static IconFonts()
        {
            var uri = new Uri("pack://application:,,,/MES.Desktop.Assets;component/Fonts/iconfont.ttf", UriKind.RelativeOrAbsolute);
            GlyphTypeface glyphTypeface = new GlyphTypeface(uri);
            All = glyphTypeface.CharacterToGlyphMap.Keys.ToList()
                .Select(f => ((char)f).ToString()).ToList();
        }
        public static List<string> All { get; set; }
    }
}
